projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f601994
)
Correct the documentation of gtk_render_arrow() x,y arguments
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 5 Sep 2011 03:09:57 +0000
(23:09 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 5 Sep 2011 03:09:57 +0000
(23:09 -0400)
As pointed out in bug 655631, these are the origin, not
the center of the area.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index d2a238cba9ffcd6d480ba5c11dab0bfc5dcee54f..f5f90093b6e81baff7c7e9b7d2b7a5522628a368 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-3647,8
+3647,8
@@
gtk_render_option (GtkStyleContext *context,
* @context: a #GtkStyleContext
* @cr: a #cairo_t
* @angle: arrow angle from 0 to 2 * %G_PI, being 0 the arrow pointing to the north
- * @x:
Center X for
the render area
- * @y:
Center Y for
the render area
+ * @x:
X origin of
the render area
+ * @y:
Y origin of
the render area
* @size: square side for render area
*
* Renders an arrow pointing to @angle.